<%@page import="album.Album"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Album1-Modify-result.jsp</title>
</head>
<body>
</head>
<body>
<jsp:useBean id="albumVo" class="album.AlbumVo"/>
<jsp:setProperty property="*" name="albumVo"/>
<%
albumVo.setRequest(request);
Album album = new Album();
album.setVo(albumVo);
%>
<div>
	<h1>Album Modify Result</h1>
	<%
	if(album.modify()){%>
		<script>
		alert("게시글이 수정되었습니다.");
		location.href="Main.jsp?inc_content=Album1.jsp?inc_right=../album/Album_list.jsp&serial=" + <%=album.getVo().getSerial()%>;
		</script>
	<%}else{%>
		<script>
		alert("수정중 오류 발생...");
		history.back();
		</script>
	<%} %>
</div>
</body>
</html>